<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of cartComponent
 *
 * @author tomislav
 */
class cart_statusComponent extends sfComponent {
    public function execute($request)
    {
        // Get number of products in cart
        $baskets = BasketTable::getBaskets($this->getUser());
        $this->short_info = BasketTable::getShortInfo($baskets);
    }
}
?>
